package com.by.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.by.api.dto.CarDto;
import com.by.feign.dto.SkuDto;
import com.by.goods.entity.Sku;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SkuMapper extends BaseMapper<Sku> {
<<<<<<< HEAD

=======
>>>>>>> csy
    SkuDto querySku(int id);

    /**
     * 锁定库存
     * @param carDto
     * @return
     */
    int lockStock(CarDto carDto);
<<<<<<< HEAD
=======

>>>>>>> csy
}
